package com.oracle.lingshangejia.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

public class ResidentBean {
    /**
     * msg : 操作成功
     * code : 0
     * data : [{"id":176,"xm":"段佳伟","bh":"2327010040020127969","xb":1,"csrq":"1993-04-11 00:00:00","sfzh":"231085199304113118","gzdw":"","brdh":"18876762323","lxrxm":"","lxrdh":"","czlx":1,"mz":1,"xx":1,"yx":1,"whcd":10,"zy":8,"hyzk":5,"sfqy":1,"xqid":80,"xqmc":"","txUrl":"/files/9f757518-9ce4-4811-9b49-4c0a231b7d06.jpg","zxbList":[{"id":12,"name":"高血压患者随访记录","sign":""},{"id":13,"name":"新生儿家庭访视记录","sign":""}]},{"id":140,"xm":"韩新立","bh":"2327010040020124600","xb":1,"csrq":"1957-08-06 00:00:00","sfzh":"23272419570806121X","gzdw":"退休","brdh":"13555092869","lxrxm":"杨丽娥","lxrdh":"15714677028","czlx":1,"mz":1,"xx":1,"yx":1,"whcd":10,"zy":8,"hyzk":5,"sfqy":1,"xqid":80,"xqmc":"","txUrl":"","zxbList":[{"id":13,"name":"新生儿家庭访视记录","sign":""}]}]
     */

    private String msg;
    private int code;
    private List<DataBean> data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Parcelable {
        /**
         * id : 176
         * xm : 段佳伟
         * bh : 2327010040020127969
         * xb : 1
         * csrq : 1993-04-11 00:00:00
         * sfzh : 231085199304113118
         * gzdw :
         * brdh : 18876762323
         * lxrxm :
         * lxrdh :
         * czlx : 1
         * mz : 1
         * xx : 1
         * yx : 1
         * whcd : 10
         * zy : 8
         * hyzk : 5
         * sfqy : 1
         * xqid : 80
         * xqmc :
         * txUrl : /files/9f757518-9ce4-4811-9b49-4c0a231b7d06.jpg
         * zxbList : [{"id":12,"name":"高血压患者随访记录","sign":""},{"id":13,"name":"新生儿家庭访视记录","sign":""}]
         */

        private int id;
        private String xm;
        private String bh;
        private int xb;
        private String csrq;
        private String sfzh;
        private String gzdw;
        private String brdh;
        private String lxrxm;
        private String lxrdh;
        private int czlx;
        private int mz;
        private int xx;
        private int yx;
        private int whcd;
        private int zy;
        private int hyzk;
        private int sfqy;
        private int xqid;
        private String xqmc;
        private String txUrl;
        private List<ZxbListBean> zxbList;

        protected DataBean(Parcel in) {
            id = in.readInt();
            xm = in.readString();
            bh = in.readString();
            xb = in.readInt();
            csrq = in.readString();
            sfzh = in.readString();
            gzdw = in.readString();
            brdh = in.readString();
            lxrxm = in.readString();
            lxrdh = in.readString();
            czlx = in.readInt();
            mz = in.readInt();
            xx = in.readInt();
            yx = in.readInt();
            whcd = in.readInt();
            zy = in.readInt();
            hyzk = in.readInt();
            sfqy = in.readInt();
            xqid = in.readInt();
            xqmc = in.readString();
            txUrl = in.readString();
        }

        public static final Creator<DataBean> CREATOR = new Creator<DataBean>() {
            @Override
            public DataBean createFromParcel(Parcel in) {
                return new DataBean(in);
            }

            @Override
            public DataBean[] newArray(int size) {
                return new DataBean[size];
            }
        };

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getXm() {
            return xm;
        }

        public void setXm(String xm) {
            this.xm = xm;
        }

        public String getBh() {
            return bh;
        }

        public void setBh(String bh) {
            this.bh = bh;
        }

        public int getXb() {
            return xb;
        }

        public void setXb(int xb) {
            this.xb = xb;
        }

        public String getCsrq() {
            return csrq;
        }

        public void setCsrq(String csrq) {
            this.csrq = csrq;
        }

        public String getSfzh() {
            return sfzh;
        }

        public void setSfzh(String sfzh) {
            this.sfzh = sfzh;
        }

        public String getGzdw() {
            return gzdw;
        }

        public void setGzdw(String gzdw) {
            this.gzdw = gzdw;
        }

        public String getBrdh() {
            return brdh;
        }

        public void setBrdh(String brdh) {
            this.brdh = brdh;
        }

        public String getLxrxm() {
            return lxrxm;
        }

        public void setLxrxm(String lxrxm) {
            this.lxrxm = lxrxm;
        }

        public String getLxrdh() {
            return lxrdh;
        }

        public void setLxrdh(String lxrdh) {
            this.lxrdh = lxrdh;
        }

        public int getCzlx() {
            return czlx;
        }

        public void setCzlx(int czlx) {
            this.czlx = czlx;
        }

        public int getMz() {
            return mz;
        }

        public void setMz(int mz) {
            this.mz = mz;
        }

        public int getXx() {
            return xx;
        }

        public void setXx(int xx) {
            this.xx = xx;
        }

        public int getYx() {
            return yx;
        }

        public void setYx(int yx) {
            this.yx = yx;
        }

        public int getWhcd() {
            return whcd;
        }

        public void setWhcd(int whcd) {
            this.whcd = whcd;
        }

        public int getZy() {
            return zy;
        }

        public void setZy(int zy) {
            this.zy = zy;
        }

        public int getHyzk() {
            return hyzk;
        }

        public void setHyzk(int hyzk) {
            this.hyzk = hyzk;
        }

        public int getSfqy() {
            return sfqy;
        }

        public void setSfqy(int sfqy) {
            this.sfqy = sfqy;
        }

        public int getXqid() {
            return xqid;
        }

        public void setXqid(int xqid) {
            this.xqid = xqid;
        }

        public String getXqmc() {
            return xqmc;
        }

        public void setXqmc(String xqmc) {
            this.xqmc = xqmc;
        }

        public String getTxUrl() {
            return txUrl;
        }

        public void setTxUrl(String txUrl) {
            this.txUrl = txUrl;
        }

        public List<ZxbListBean> getZxbList() {
            return zxbList;
        }

        public void setZxbList(List<ZxbListBean> zxbList) {
            this.zxbList = zxbList;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel parcel, int i) {
            parcel.writeInt(id);
            parcel.writeString(xm);
            parcel.writeString(bh);
            parcel.writeInt(xb);
            parcel.writeString(csrq);
            parcel.writeString(sfzh);
            parcel.writeString(gzdw);
            parcel.writeString(brdh);
            parcel.writeString(lxrxm);
            parcel.writeString(lxrdh);
            parcel.writeInt(czlx);
            parcel.writeInt(mz);
            parcel.writeInt(xx);
            parcel.writeInt(yx);
            parcel.writeInt(whcd);
            parcel.writeInt(zy);
            parcel.writeInt(hyzk);
            parcel.writeInt(sfqy);
            parcel.writeInt(xqid);
            parcel.writeString(xqmc);
            parcel.writeString(txUrl);
        }

        public static class ZxbListBean {
            /**
             * id : 12
             * name : 高血压患者随访记录
             * sign :
             */

            private int id;
            private String name;
            private String sign;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getSign() {
                return sign;
            }

            public void setSign(String sign) {
                this.sign = sign;
            }
        }
    }

    /**
     * msg : 操作成功
     * code : 0
     * data : [{"id":51,"xm":"高静","bh":"","xb":1,"csrq":"","sfzh":"","gzdw":"","brdh":"18324512460","lxrxm":"","lxrdh":"","czlx":1,"mz":1,"xx":1,"yx":1,"whcd":10,"zy":8,"hyzk":5,"sfqy":0,"xqid":50,"xqmc":"","txUrl":"/Users/chuxu/Desktop/u=342253424,3691704564&fm=26&gp=0.jpg"},{"id":52,"xm":"高静","bh":"","xb":1,"csrq":"","sfzh":"232103199306075380","gzdw":"","brdh":"18324512460","lxrxm":"","lxrdh":"","czlx":1,"mz":1,"xx":1,"yx":1,"whcd":10,"zy":8,"hyzk":5,"sfqy":1,"xqid":50,"xqmc":"","txUrl":""},{"id":53,"xm":"刘佳钊","bh":"","xb":1,"csrq":"","sfzh":"230223199202070517","gzdw":"","brdh":"18324512460","lxrxm":"","lxrdh":"","czlx":1,"mz":1,"xx":1,"yx":1,"whcd":10,"zy":8,"hyzk":5,"sfqy":1,"xqid":50,"xqmc":"","txUrl":""}]
     */


}
